package com.sam.security.domain;

import java.io.Serializable;

/**
 * The Class Authority.
 */
public class Authority implements Serializable {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;

	/** The name. */
	private String name;

	/** The display name. */
	private String displayName;

	/**
	 * Instantiates a new authority.
	 */
	public Authority() {

	}

	/**
	 * Instantiates a new authority.
	 * 
	 * @param name
	 *            the name
	 * @param displayName
	 *            the display name
	 */
	public Authority(String name, String displayName) {
		this.name = name;
		this.displayName = displayName;
	}

	/**
	 * Gets the name.
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name.
	 * 
	 * @param name
	 *            the new name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Gets the display name.
	 * 
	 * @return the display name
	 */
	public String getDisplayName() {
		return displayName;
	}

	/**
	 * Sets the display name.
	 * 
	 * @param displayName
	 *            the new display name
	 */
	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	/**
	 * Gets the serial version uid.
	 * 
	 * @return the serial version uid
	 */
	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

}
